package model

import "project-common/errs"

var (
	// 手机号不合法
	RedisError    = errs.NewError(2001, "redis错误")
	DBError       = errs.NewError(200101, "redis错误")
	NoLegalMobile = errs.NewError(2001, "手机号不合法")
	CodeError     = errs.NewError(2001, "验证码不正确")
	CodeNotError  = errs.NewError(2001, "验证码不存在或者已过期")
	EmailExists   = errs.NewError(2001, "邮箱已存在")
	AccountExists = errs.NewError(2001, "账号已存在")
	MobileExists  = errs.NewError(2001, "手机号已存在")
	AccountAndPwd = errs.NewError(2001, "账号和密码已存在")
	NoLogin       = errs.NewError(997, "未登录")
)
